Optimal. Leaf size=37 \[ -\frac{a+b \tanh ^{-1}(c x)}{2 x^2}+\frac{1}{2} b c^2 \tanh ^{-1}(c x)-\frac{b c}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0216618, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {5916, 325, 206} \[ -\frac{a+b \tanh ^{-1}(c x)}{2 x^2}+\frac{1}{2} b c^2 \tanh ^{-1}(c x)-\frac{b c}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5916
Rule 325
Rule 206
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}(c x)}{x^3} \, dx &=-\frac{a+b \tanh ^{-1}(c x)}{2 x^2}+\frac{1}{2} (b c) \int \frac{1}{x^2 \left (1-c^2 x^2\right )} \, dx\\ &=-\frac{b c}{2 x}-\frac{a+b \tanh ^{-1}(c x)}{2 x^2}+\frac{1}{2} \left (b c^3\right ) \int \frac{1}{1-c^2 x^2} \, dx\\ &=-\frac{b c}{2 x}+\frac{1}{2} b c^2 \tanh ^{-1}(c x)-\frac{a+b \tanh ^{-1}(c x)}{2 x^2}\\ \end{align*}
Mathematica [A] time = 0.0083632, size = 59, normalized size = 1.59 \[ -\frac{a}{2 x^2}-\frac{1}{4} b c^2 \log (1-c x)+\frac{1}{4} b c^2 \log (c x+1)-\frac{b \tanh ^{-1}(c x)}{2 x^2}-\frac{b c}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 49, normalized size = 1.3 \begin{align*} -{\frac{a}{2\,{x}^{2}}}-{\frac{b{\it Artanh} \left ( cx \right ) }{2\,{x}^{2}}}-{\frac{bc}{2\,x}}-{\frac{{c}^{2}b\ln \left ( cx-1 \right ) }{4}}+{\frac{{c}^{2}b\ln \left ( cx+1 \right ) }{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.978649, size = 61, normalized size = 1.65 \begin{align*} \frac{1}{4} \,{\left ({\left (c \log \left (c x + 1\right ) - c \log \left (c x - 1\right ) - \frac{2}{x}\right )} c - \frac{2 \, \operatorname{artanh}\left (c x\right )}{x^{2}}\right )} b - \frac{a}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.93332, size = 95, normalized size = 2.57 \begin{align*} -\frac{2 \, b c x -{\left (b c^{2} x^{2} - b\right )} \log \left (-\frac{c x + 1}{c x - 1}\right ) + 2 \, a}{4 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.739748, size = 36, normalized size = 0.97 \begin{align*} - \frac{a}{2 x^{2}} + \frac{b c^{2} \operatorname{atanh}{\left (c x \right )}}{2} - \frac{b c}{2 x} - \frac{b \operatorname{atanh}{\left (c x \right )}}{2 x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2016, size = 77, normalized size = 2.08 \begin{align*} \frac{1}{4} \, b c^{2} \log \left (c x + 1\right ) - \frac{1}{4} \, b c^{2} \log \left (c x - 1\right ) - \frac{b \log \left (-\frac{c x + 1}{c x - 1}\right )}{4 \, x^{2}} - \frac{b c x + a}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]